aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/thread/[id]/+page.svelte
blob: 932b6dfd80d51fea3cc17c34f7f6ea41ee35cba1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<script>
  import Event from "$comp/Event.svelte";

  let { data } = $props();
  let { thread } = $derived(data);
</script>

<div class="container px-4 max-w-xl mx-auto space-y-5">
  <h1 class="px-3 md:px-0 text-center text-3xl md:text-4xl font-semibold">
    Thread
  </h1>

  {#each thread as event}
    <Event {event} minimal={true} />
  {/each}
</div>